﻿<div>
    @using (Html.BeginForm("LogIn", "User", FormMethod.Post))
    {
        <div >
            @if (ViewBag.Info == 300)
            {
                @T("账号或密码错误")
            }
            @T("用户登录")
        </div>
        <fieldset>
            user    :<input type="text" name="userNameOrEmail" id="userNameOrEmail"/> <br />
            password:<input type="password" name="password" id="password"/> <br />
            
            <input type="submit" name="User.LogOn" value="LogOn"/>
        </fieldset>
    }
</div>